home *** CD-ROM | disk | FTP | other *** search
/ Precision Software Appli…tions Silver Collection 1 / Precision Software Applications Silver Collection Volume One (PSM) (1993).iso / games / vga / drcode12.arj / INSTALL.BAT < prev    next >
DOS Batch File  |  1992-09-28  |  2KB  |  84 lines

  1. echo off
  2. cls
  3.  
  4. if "%1" == "" goto INSTRUCT 
  5. if "%2" == "" goto INSTRUCT 
  6. if "%1" == "A:" goto INSTALL
  7. if "%1" == "a:" goto INSTALL
  8. if "%1" == "B:" goto INSTALL
  9. if "%1" == "b:" goto INSTALL
  10.  
  11. goto INSTRUCT
  12.  
  13. :INSTALL
  14. echo  
  15. echo           DR. CODEMASTER Hard Disk Installation
  16. echo 
  17. echo  This program will install DR. CODEMASTER on your hard
  18. echo  disk in a directory called %2\DRCODE from floppy drive
  19. echo  %1.  You must have 1.1 Megabyte free for the self-
  20. echo  extracting files to run properly.  The final program
  21. echo  will occupy about 700K.
  22. echo 
  23.  
  24. pause
  25. md %2\drcode 
  26. cls
  27.  
  28. echo   
  29. echo  --- LOADING PROGRAM FILES --- 
  30. echo  
  31. copy %1\drcode.exe %2\drcode\*.* 
  32.  
  33. echo 
  34. echo  --- DECOMPRESSING PROGRAM FILES --- 
  35. echo  
  36. %2
  37. cd\drcode 
  38. drcode 
  39.  
  40. echo  
  41. echo  --- ELIMINATING COMPRESSED VERSIONS --- 
  42. echo  
  43. del drcode.exe 
  44. cls
  45.  
  46. echo   
  47. echo  TO START, MOVE TO THE %2\DRCODE DIRECTORY, AND 
  48. echo  ENTER THE FOLLOWING:
  49. echo  
  50. echo    PLAYER    -- To Use Personalization Features 
  51. echo    GO        -- To Run Program 
  52. echo 
  53. echo  WE HOPE YOU ENJOY!!! 
  54. echo  
  55.   
  56. pause
  57. goto EXIT
  58.  
  59. :INSTRUCT 
  60. echo  
  61. echo          DR. CODEMASTER Hard Disk Installation 
  62. echo  
  63. echo  This program installs DR. CODEMASTER on your hard disk:
  64. echo 
  65. echo  For this program, please adopt the following format:
  66. echo  
  67. echo                 INSTALL A: C:
  68. echo   
  69. echo      where A: = floppy disk drive from which you're loading
  70. echo                 the program
  71. echo            C: = hard drive on which the program is to be
  72. echo                 installed
  73. echo 
  74. echo  Substitute other drive letters as appropriate.   Please
  75. echo  note you must have 1.1 Megabyte free for the self-
  76. echo  extracting files to run properly.  The final program will
  77. echo  occupy about 700K.
  78. echo 
  79. pause
  80. cls 
  81. goto EXIT 
  82.           
  83. :EXIT 
  84.